package com.goods.business.service;

import com.goods.common.vo.business.ProductStockVO;
import com.goods.common.vo.business.ProductVO;

import java.util.List;

/**
 * (BizProduct)表服务接口
 *
 * @author makejava
 * @since 2021-05-06 18:37:05
 */
public interface ProductService {


    List<ProductVO> findProductList(ProductVO productVo, String categorys);

    Integer add(ProductVO productVO);

    ProductVO edit(Long id);

    Integer update(Long id, ProductVO productVO);

    Integer remove(Long id);

    Integer back(Long id);

    Integer delete(Long id);

    Integer publish(Long id);

    List<ProductVO> findProducts(ProductVO status);

    List<ProductStockVO> findProductStocks(ProductVO productVO, String categorys);
}

